<template>
	<view class="tab-home">
		<view class="tab-li this">
			<view class="iconfont tab-icon">&#xe6ac;</view>
			<view class="tab-title">
				书架
			</view>
		</view>
		<view class="tab-li">
			<view class="iconfont tab-icon">&#xe610;</view>
			<view class="tab-title">
				书城
			</view>
		</view>
		<view class="tab-li">
			<view class="iconfont tab-icon">&#xe71c;</view>
			<view class="tab-title">
				分类
			</view>
		</view>
		<view class="tab-li">
			<view class="iconfont tab-icon">&#xe66e;</view>
			<view class="tab-title">
				我的
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		name: 'tabbar',
		computed: {

		},
		props: {

		},
		methods: {

		}
	}
</script>

<style lang="scss">
	* {
		box-sizing: border-box;
	}

	.tab-home {
		display: flex;
		justify-content: space-between;
		border-top: 1px solid #edecee;
		/* position: fixed;
		bottom: 0; */
		width: 100%;

		.tab-li {
			height: 60px;
			display: block;
			flex: 1;
			text-align: center;
			display: flex;
			flex-flow: column nowrap;
			justify-content: center;
			&.this{
				color: $color-home;
				.tab-title{
					font-weight: bold;
				}
			}
			.tab-icon {
				font-size: 24px;
			}

			.tab-title {
				font-size: 16px;
			}
		}
	}
</style>
